package com.bwie.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @author 军哥
 * @version 1.0
 * @description: TODO
 * @date 2024/11/2 11:52
 */

@Data
@TableName("tb_user")
public class TbUser implements Serializable {

    @TableId(value = "user_id",type = IdType.AUTO)
    private Integer userId;
    private String userName;
    private String userPass;
    private String userMobile;
    private Integer userRole;

    // 表示数据库表中，没有这个字段
    @TableField(exist = false)
    private String token;


}
